<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<center>
		<table>
			<tr>
				<td>id</td>
				<td>name</td>
				<td>img</td>
				<td>操作</td>
			</tr>
			<?php foreach ($data as $key => $val){ ?>

			<tr>
				<td><?php echo $val['id'] ?></td>
				<td><?php echo $val['name'] ?></td>
				<td><?php echo $val['img'] ?></td>
				<td><a href="">删除</a></td>
			</tr>

			<?php } ?>
		</table>
	</center>
</body>
</html>